function CheckAll(form)  {
  for (var i=0;i<form.elements.length;i++)    {
    var e = form.elements[i];
    if (e.name != 'chkall')
       e.checked = form.chkall.checked;
    }
  }

function submits(value){
	if(confirm('是否确认'))	{
		document.getElementById('form').submit();
	}
}